package com.xydtech.ecard.merchant.service.impl;

import com.xydtech.common.annotation.DataScope;
import com.xydtech.ecard.merchant.domain.EcardBranchMerchantMarket;
import com.xydtech.ecard.merchant.mapper.EcardBranchMerchantMarketMapper;
import com.xydtech.ecard.merchant.service.IEcardBranchMerchantMarketService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 商户网格化营销统计Service业务层实现类
 *
 * @author yuzhiguo
 * @date 2024-10-17 上午10:29
 */
@Service
public class EcardBranchMerchantMarketServiceImpl implements IEcardBranchMerchantMarketService {

    @Autowired
    private EcardBranchMerchantMarketMapper ecardBranchMerchantMarketMapper;

    /**
     * 商户网格化营销统计
     * @param ecardBranchMerchantMarket
     * @return
     */
    @Override
    @DataScope(deptAlias = "d")
    public List<EcardBranchMerchantMarket> selectBranchMerchantMarketInfo(EcardBranchMerchantMarket ecardBranchMerchantMarket) {
        return ecardBranchMerchantMarketMapper.selectBranchMerchantMarketInfo(ecardBranchMerchantMarket);
    }
}
